package com.qiangesoft.xxljob.jobhandler;

import com.xxl.job.core.context.XxlJobHelper;
import com.xxl.job.core.handler.IJobHandler;
import lombok.extern.slf4j.Slf4j;

/**
 * XxlJob开发示例（类模式）
 *
 * @author qiangesoft
 * @date 2024-05-15
 */
@Slf4j
public class DemoHandler extends IJobHandler {

    @Override
    public void execute() throws Exception {
        log.info("DemoHandler executed !");

        XxlJobHelper.log("XXL-JOB, IJobHandler.");
    }
}

